package com.yunxi.sto.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.sto.pojo.StoCarriageRouteVO;
import java.lang.reflect.InvocationTargetException;
import java.util.List;

/**
 * <p>
 * 运输路线 服务类
 * </p>
 *
 * @author caoYong
 * @since 2019-05-15
 */
public interface StoCarriageRouteDubboService {

    StoCarriageRouteVO getById(String id) throws InvocationTargetException, IllegalAccessException;

    void saveOrUpdate(StoCarriageRouteVO stoCarriageRouteVO) throws Exception;

    void removeById(String id);

    void del(List<String> list,String userId);

    void reset(List<String> list,String userId);

    List list();

    List carrierList(String routeId,String carriageType);

    void approve(List<StoCarriageRouteVO> list,String userId)throws Exception;

    PageInfo<StoCarriageRouteVO> findPageByVO(StoCarriageRouteVO stoCarriageRouteVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException;

}
